<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('查看党员信息')" />
</head>
<body class="gray-bg">
	
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>查看党员信息</h5>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m" id="form-member-view" th:object="${partyMember}">
							<input name="id" th:field="*{id}" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">关联用户ID：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{userId}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">党员编号：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{partyNo}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">姓名：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{name}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">性别：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{gender} == '0'">男</p>
									<p class="form-control-static" th:if="*{gender} == '1'">女</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">出生日期：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{birthDate}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">民族：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{nation}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">籍贯：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{nativePlace}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">政治面貌：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{politicalStatus}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">入党日期：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{joinPartyDate}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">转正日期：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{conversionDate}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所属部门ID：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{deptId}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所属班级（学生党员）：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{classId}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">身份类型：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{identityType} == '1'">教师</p>
									<p class="form-control-static" th:if="*{identityType} == '2'">学生</p>
									<p class="form-control-static" th:if="*{identityType} == '3'">职工</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">党内职务：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{partyPost}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">联系电话：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{contactPhone}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">邮箱：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{email}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">入党申请书：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="${partyMember.applicationPath != null and partyMember.applicationPath != ''}">
										<a th:href="@{${partyMember.applicationPath}}" target="_blank">查看文件</a>
									</p>
									<p class="form-control-static" th:if="${partyMember.applicationPath == null or partyMember.applicationPath == ''}">
										未上传
									</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{status} == '0'">正常</p>
									<p class="form-control-static" th:if="*{status} == '1'">转出</p>
									<p class="form-control-static" th:if="*{status} == '2'">休学</p>
									<p class="form-control-static" th:if="*{status} == '3'">退休</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">是否是优秀党员：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:if="*{isExcellent == '0'}">否</p>
									<p class="form-control-static" th:if="*{isExcellent == '1'}">是</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">创建者：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{createBy}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">创建时间：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{createTime}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">更新者：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{updateBy}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">更新时间：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{updateTime}"></p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<p class="form-control-static" th:text="*{remark}"></p>
								</div>
							</div>
							<div class="form-group">
								<div class="form-control-static col-sm-offset-9">
									<button type="button" class="btn btn-danger" onclick="closeItem()">关闭</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<th:block th:include="include :: footer" />
	<script type="text/javascript">
		/* 关闭窗口 */
		function closeItem() {
			var index = parent.layer.getFrameIndex(window.name);
			parent.layer.close(index);
		}
	</script>
</body>
</html>